Fix configure --with-systemd-modules-load=DIR
authorOlaf Hering <olaf@aepfle.de>
Fri, 10 Oct 2014 15:32:42 +0000 (17:32 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 14 Oct 2014 09:30:17 +0000 (10:30 +0100)
commit59286be58a165407a5d3c75e91ee68109e748838
treec1165e18ebf80915f465cdf1fd307f7d5d2975f5
parentdf8589760ec9a86276da241a5c94d341aa1ddfcb
Fix configure --with-systemd-modules-load=DIR

Currently --with-systemd=DIR1 --with-systemd-modules-load=DIR2 will set
both XEN_SYSTEMD_DIR and XEN_SYSTEMD_MODULES_LOAD to DIR1. The reason is
that both AC_ARG_WITH() use 'systemd' as the name for the internal
variable. As a result the value of the first option is also use as the
value for the second option. Fix this by using another variable name.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ijc -- ran autogen.sh as requested]
m4/systemd.m4
tools/configure